package com.excesys.exsecs.access.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.excesys.exsecs.access.entity.AccessThingModel;
import com.excesys.exsecs.access.vo.AccessProductVO;
import com.excesys.exsecs.access.vo.AccessThingModelVO;
import com.excesys.exsecs.common.core.util.R;
import org.springframework.validation.BindingResult;

import java.util.List;

public interface AccessThingModelService extends IService<AccessThingModel> {

	AccessThingModel getThingModelByProductKey(String productKey);

	boolean saveModel(AccessThingModel accessThingModel);

    R importProduct(List<AccessThingModelVO> excelVOList, String productKey, BindingResult bindingResult);

    List<AccessThingModelVO> exportThingModel(AccessThingModel accessThingModel);
}